package com.design.yjx.iterator.component;

/**
 * @author yuanjianxin
 * @date 2017/8/22 15:10
 */
public class Waitress {
    private MenuComponent menuComponent;

    public Waitress(MenuComponent menuComponent) {
        this.menuComponent = menuComponent;
    }

    public void print() {
        menuComponent.print();
    }
}
